import java.security.GeneralSecurityException;

public class SendEmailThread extends Thread{
    public void run(SuggestPanelInPraise suggestPanelInPraise) {
        SendEmail se=new SendEmail();
        try {
            se.message(Integer.valueOf(suggestPanelInPraise.getTfdOrderNum().getText()).intValue(), suggestPanelInPraise.getTfdSuggest().getText());
        } catch (GeneralSecurityException e1) {
            System.out.println(e1.getMessage());
            System.out.println("发送邮件时出错");
        } finally {
            System.out.println("执行完毕");
        }
    }
}
